<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Login</title>
<link rel="stylesheet" href="<?=base_url()?>resource/css/login.css">
</head>
<style type="text/css">
    body{ background:url(<?=base_url()?>resource/img/login_bg.jpg) #2479d3 no-repeat center top;}
</style>
<body>
    <div class="maindiv">
<div  class="login_box">
    <div class="logo"><a href=""><img src="<?=base_url()?>resource/img/login_logo.png" width="458" height="96" alt=""/></a></div>
    <div class="box">
        <?php echo form_open('user/login'); ?>
    	<div class="title">会员登录</div>
        <div class="user_pwd">
            <div class="left">
                <span>用户名：</span><input type="text" name="username">
            <br />
            <span> 密&nbsp;码：</span><input type="password" name="password">
             </div>
             <div class="btn">
                 <button type="submit"></button>
             </div>
        </div>
        <?php echo form_close(); ?>
        <div class="text"><span class="err"><?=validation_errors();?><?php if(isset($error)){echo $error;}?></span></div>
    </div>
</div>
        </div>
</body>
</html>
